package com.ruoyi.project.mall.service;


import com.ruoyi.common.utils.bootdo.R;
import com.ruoyi.project.mall.domain.MallNewDO;

import java.util.List;
import java.util.Map;

/**
 * 商城活动咨询
 * 
 * @author long
 * @email 499626561@qq.com
 * @date 2020-12-25 10:18:47
 */
public interface MallNewService {
	
	MallNewDO get(String id);
	
	List<MallNewDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MallNewDO mallNew);
	
	int update(MallNewDO mallNew);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<MallNewDO> likeList(Map<String, Object> map);
    int likeListCount(Map<String, Object> map);

    R getHotNews();

	R getNewsInfo(Map<String, Object> map);


	R getNewsList(Map<String, Object> params);
}
